
using System;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using System.Collections.Generic;
using System.Threading.Tasks;
using  LTMCompanyName.YoyoCmsTemplate.Exam.Dtos;
using  LTMCompanyName.YoyoCmsTemplate.Exam;



namespace  LTMCompanyName.YoyoCmsTemplate.Exam
{
    /// <summary>
    /// 应用层服务的接口方法
    ///</summary>
    public interface IStockCategoryAppService : IApplicationService
    {
        /// <summary>
		/// 获取的分页列表集合
		///</summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<PagedResultDto<StockCategoryListDto>> GetPaged(GetStockCategorysInput input);

        Task<PagedResultDto<StockCategoryListDto>> Get(GetStockCategorysInput input);

        /// <summary>
        /// 通过指定id获取ListDto信息
        /// </summary>
        Task<StockCategoryListDto> GetById(EntityDto<long> input);


        /// <summary>
        /// 返回实体的EditDto
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<GetStockCategoryForEditOutput> GetForEdit(NullableIdDto<long> input);


        /// <summary>
        /// 添加或者修改的公共方法
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task CreateOrUpdate(CreateOrUpdateStockCategoryInput input);


        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task Delete(EntityDto<long> input);

		
        /// <summary>
        /// 批量删除
        /// </summary>
        Task BatchDelete(List<long> input);


    }
}
